<html>
<body>
    <h1>Add <%=request.getAttribute("name")%></h1>
 
    <form method="post" action="add" >
        <table>
            <%
                String[] columns = (String[])request.getAttribute("columns");
                for(String column : columns) {
                    if (column == "id"){
                        continue;
                    }
            %>
            <tr>
                <td>
                    <%=column%> :
                </td>
                <td>
                    <input type="text" style="width: 185px;" maxlength="30" name="<%=column%>" id="<%=column%>" 
                        value="" />
                </td>
            </tr>
            <%
                }
            %>
        </table>
        <input type="submit" class="save" title="Save" value="Save" />
    </form>
 
</body>
</html>